package com.ruoyi.hxf.domain.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 班级创建管理业务对象 f_type
 *
 * @author hxf
 * @date 2022-12-15
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TypeBo extends TreeEntity<TypeBo> {

    /**
     * 编号(id)
     */
    @NotNull(message = "编号(id)不能为空", groups = { EditGroup.class })
    private Long typeId;

    /**
     * 班级名称
     */
    @NotBlank(message = "班级名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String typeName;

    /**
     * 是否删除(0不显示，1显示)
     */
    private String isDelete;

    /**
     * 备注
     */
    private String remark;

    /**
     * 部门状态（0正常 1停用）
     */
    @NotBlank(message = "部门状态（0正常 1停用）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;

    /**
     * 班级id
     */
    @NotNull(message = "班级id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long deptId;


    /**
     * 父id
     */
    private Long parentId;

    /**
     * 父id
     */
    private String classLeader;

}
